﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CPRedisHelper;

namespace RedisTest
{
    class Program
    {
        static void Main(string[] args)
        {
            CPRedisHelper.CPRedisHelper.StringSet("name","xieping");
            string name = CPRedisHelper.CPRedisHelper.StringGet("name");
            Console.WriteLine(name);
            Console.ReadKey();
            CPRedisHelper.RedisCacheManager.Instance.Set("年龄", 12);
            CPRedisHelper.RedisCacheManager.Instance.Set("大学", 23);
            CPRedisHelper.RedisCacheManager.Instance.Set("呵呵", 123);
            string age = CPRedisHelper.RedisCacheManager.Instance.Get("年龄");
            string cc = CPRedisHelper.RedisCacheManager.Instance.Get("大学");
            string dd = CPRedisHelper.RedisCacheManager.Instance.Get("呵呵");
            Console.WriteLine(age+cc+dd);
            Console.ReadKey();
        }
    }
}
